package com.es.www.first;

import lombok.Setter;

/**
 * @Created by michangtao
 * @Date 2022/5/25 10:07
 * @Description
 */
@Setter
public abstract class AbstractHandler {

    protected String name;

    public AbstractHandler(String name) {
        this.name = name;
    }

    protected AbstractHandler nextHandler;

    public abstract void process(PurchaseRequest request);

}
